<?php

/**
 * Created by Reliese Model.
 */

namespace App\Models\Shop;

use App\Models\Base;
use Carbon\Carbon;
use Illuminate\Database\Eloquent\Model;

/**
 * Class GoodsSpec
 *
 * @property int $id
 * @property int $goods_id
 * @property string $name
 * @property int $parent_id
 * @property int $sort
 * @property Carbon $created_at
 * @property Carbon $updated_at
 *
 * @package App\Models
 */
class GoodsSpec extends Base
{
	protected $table = 'goods_specs';

	protected $casts = [
		'goods_id' => 'int',
		'parent_id' => 'int',
		'sort' => 'int'
	];

	protected $fillable = [
		'goods_id',
		'name',
		'parent_id',
		'sort'
	];
}
